package ch3;

import java.util.*;

public class List4 {

	public static void main(String[] args) {
		// TODO 自动生成的方法存根
		// int i = null;
		List<Integer> l = new ArrayList<>();
		l.add(444);

		Integer i = new Integer("1243");
		Boolean f = new Boolean("真");
		System.out.println(i + "-" + f);
		byte b = i.byteValue();
		System.out.println(b);
		Double d = new Double(24.66);
		System.out.println(d);

		Integer j = new Integer(100);
		// 装箱
		Integer k = 100;
		// 拆箱
		int i2 = j;
		System.out.println(k);
		System.out.println(i2);
	}

}
